import { createApp } from 'vue';
import '@/assets/css/reset.css'
import App from './App.vue';
import ElementPlus from 'element-plus';
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import 'element-plus/dist/index.css';
import router from '@/router';
import '@/components/FontAwesome';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
import { createPinia } from 'pinia';
import pagination from '@/components/Pagination';

const app = createApp(App);
app.use(ElementPlus, { locale: zhCn })
app.use(router);
app.use(createPinia());
app.component('font-awesome-icon', FontAwesomeIcon);
app.component('pagination', pagination);
app.mount('#app')
